package org.jeecg.modules.foc.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 推送实时数据管理
 * @Author: jeecg-boot
 * @Date:   2025-01-11
 * @Version: V1.0
 */
@Data
@TableName("foc_point_data")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="foc_point_data对象", description="推送实时数据管理")
public class FocPointData {
    
	/**id*/
	@TableId(type = IdType.INPUT)
    @ApiModelProperty(value = "id")
	private java.lang.Long id;
	/**策略id*/
	@Excel(name = "策略id", width = 15)
    @ApiModelProperty(value = "策略id")
	private java.lang.Integer strategyId;
	/**批次号*/
	@Excel(name = "批次号", width = 15)
    @ApiModelProperty(value = "批次号")
	private java.lang.Long period;
	/**设备对象guid*/
	@Excel(name = "设备对象guid", width = 15)
    @ApiModelProperty(value = "设备对象guid")
	private java.lang.String guid;
	/**设备状态*/
	@Excel(name = "设备状态", width = 15)
    @ApiModelProperty(value = "设备状态")
	private java.lang.Integer status;
	/**点位对象guid*/
	@Excel(name = "点位对象guid", width = 15)
    @ApiModelProperty(value = "点位对象guid")
	private java.lang.String portGuid;
	/**点位的实时值必须是数值型*/
	@Excel(name = "点位的实时值必须是数值型", width = 15)
    @ApiModelProperty(value = "点位的实时值必须是数值型")
	private java.lang.String value;
	/**点位的采集时间*/
	@Excel(name = "点位的采集时间", width = 15)
    @ApiModelProperty(value = "点位的采集时间")
	private java.lang.Long timestam;
	/**删除状态*/
	@Excel(name = "删除状态", width = 15)
    @ApiModelProperty(value = "删除状态")
	private java.lang.Integer delFlag;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
	private java.lang.String createBy;
	/**创建时间*/
	@TableField(value = "create_time", updateStrategy = FieldStrategy.NEVER)
    @ApiModelProperty(value = "创建时间")
	private java.util.Date createTime = new Date();
	/**更新人*/
	@Excel(name = "更新人", width = 15)
    @ApiModelProperty(value = "更新人")
	private java.lang.String updateBy;
	/**更新时间*/
	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
	private java.util.Date updateTime;
}
